from math import fabs

x1, y1, x2, y2, x3, y3 = map(float, input().split())
area = 0.5 * fabs((x2 - x1) * (y3 - y1) - (x3 - x1) * (y2 - y1))
print(f"{area:.2f}")